home *** CD-ROM | disk | FTP | other *** search
/ ASP Advantage 1994 2nd Q2 / The Association of Shareware Professionals - The Official ASP Advantage (2nd Quarter)(1994).bin / files / progming / snpd21 / readme.1st < prev    next >
Encoding:
Text File  |  1994-01-12  |  3.5 KB  |  81 lines

  1.  
  2.  
  3.                                 Test Drive From
  4.                                     CD-ROM
  5.  
  6.      Some of the features of SNAP-P will not work when running on a
  7.      read-only device, but you will be able to use most of the program to
  8.      see what it does and how it works.  For a full evaluation you will
  9.      need to copy SNAP_P.* to the same directory on either a hard or floppy
  10.      drive.  After you have done the copy, change to the directory where
  11.      the files were copied, then at the DOS prompt enter:
  12.  
  13.      rename snap_p.* snap-p.*
  14.  
  15.      You will then be able to use all of SNAP-P.
  16.  
  17.      If you want a test drive from the CD-ROM just execute SNAP_P.  If you
  18.      do so, the following will not work correctly:
  19.  
  20.           The document viewer will not be able to find the correct file.
  21.           this is because it is looking for "SNAP-P.DOC" with a dash, not
  22.           an underscore.  You can open SNAP_P.DOC from the file menu.
  23.  
  24.           SNAP-P writes the dictionary, parameter settings, the printable
  25.           manual and so on in the directory where the executable is stored.
  26.           These will not work on a read-only device.  You can change
  27.           parameter settings, but they will not be kept for the next
  28.           session.  The dictionary driven capitalization will not work
  29.           correctly.
  30.  
  31.                                  About SNAP-P
  32.  
  33.      For safety, SNAP-P will not change the original source file unless
  34.      told to.  Even then, a backup copy will be made first.  The newly
  35.      structured source text will be placed in a file with the same name as
  36.      the original and the default extension '.SNP'.  The Resulting
  37.      formatted code is shown beside the original on your screen for easy
  38.      comparison.  If you like the results and you have not told SNAP-P to
  39.      change the source, you can replace the original '.PAS' file with the
  40.      new file yourself.
  41.  
  42.      SNAP-P reformats a Pascal program by adjusting margins and internal
  43.      spacing, and using standard capitalization for all keywords and
  44.      identifiers.  You may specify capitalization by either rules or by
  45.      table lookup.  If you choose "rules" (rather than "table") the
  46.      standard capitalization is used.  You can specify which standards and
  47.      use different rules for keywords and identifiers.  If you choose table
  48.      lookup an optional dictionary of standard capitalization is maintained
  49.      by SNAP-P.  String literals and comments are never changed.
  50.  
  51.  
  52.                                  Installation
  53.  
  54.      Copy the SNAP-P.EXE and SNAP-P.DOC files to the same directory on
  55.      your hard disk.  If you want to execute from anywhere in the
  56.      system you need to make sure it is in the PATH.
  57.  
  58.      If you want to use SNAP-P as a tool in a Borland(R) product, do
  59.      the following:
  60.  
  61.           1    Start the Borland product
  62.  
  63.           2    Under the Options|Tools menu select New
  64.  
  65.           3    On the resulting form enter:
  66.  
  67.                Title        : ~S~NAP-P
  68.                Program Path : Enter the full path name of SNAP-P.EXE
  69.                Command Line : $EDNAME $SAVE ALL
  70.                Hot Keys     : Pick an available Hot Key (optional).
  71.  
  72.           4    Click OK
  73.  
  74.                                     Removal
  75.  
  76.      If you decide that you don't want to keep SNAP-P on your system,
  77.      delete SNAP-P.* from the directory where you placed SNAP-P.EXE.
  78.      If you have changed your PATH or modified any tools menus these
  79.      will also need to be returned to their original state.
  80.  
  81.